package com.note.services.service.impl;

import com.note.common.domain.File;
import com.note.services.dao.mapper.FileMapper;
import com.note.services.service.FileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Package：com.note.services.service.impl
 * @Name：FileServiceImpl
 * @Author：热伊木
 * @Email：uyevan@163.com
 * @Date：2024-05-02-9:49
 * @Description：文件上传记录实现
 */
@Service
public class FileServiceImpl implements FileService {
    @Autowired
    private FileMapper fileMapper;

    @Override
    public void recordUpload(File file) {
        fileMapper.inputFile(file);
    }
}
